﻿namespace PhotobucketNet
{
    using System;

    public class PhotobucketToken
    {
        private string _token;
        private string _tokenSecret;

        public PhotobucketToken()
        {
            this._token = string.Empty;
            this._tokenSecret = string.Empty;
        }

        public PhotobucketToken(string token, string secret)
        {
            this._token = string.Empty;
            this._tokenSecret = string.Empty;
            this._token = token;
            this._tokenSecret = secret;
        }

        public override bool Equals(object obj)
        {
            PhotobucketToken token = obj as PhotobucketToken;
            return (this.Token.Equals(token.Token) && this.TokenSecret.Equals(token.TokenSecret));
        }

        public override int GetHashCode()
        {
            return base.GetHashCode();
        }

        public string Token
        {
            get
            {
                return this._token;
            }
            set
            {
                this._token = value;
            }
        }

        public string TokenSecret
        {
            get
            {
                return this._tokenSecret;
            }
            set
            {
                this._tokenSecret = value;
            }
        }
    }
}

